/**
 * Copyright © 2020-2021 百望股份有限公司，All rights reserved.
 */

package com.example.democodestyle.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/** 测试类.
 * @author Jagger
 * @date 2021/6/12 14:39
 * @since 1.0
 */
@Controller
@RequestMapping(path = "/demo")
public class DemoController {

    @GetMapping(path = "/001")
    public @ResponseBody
    String demo001() {
        return "demo";
    }
}
